﻿    <%@ Page Language="C#" MasterPageFile="~/FacilityHeaderFooter.master" AutoEventWireup="true"
    CodeFile="frmAddTechnicalArea.aspx.cs" Inherits="frmAddTechnicalArea" %>

    <%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
    <%@ MasterType VirtualPath="~/FacilityHeaderFooter.master" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="facilityheaderfooter" runat="Server">
    
    <script language="javascript" type="text/javascript">
     function fnChange()
     {
   
     }
     function fncheck()
     {
        var id=document.getElementById('ctl00_facilityheaderfooter_ddlTecharea').value;
        if(id=="0")
        {
            alert("Select Technical Area");
            return false;
        }
     }
    </script>
      <div style="padding-top: 140px;">
    <h1 class="nomargin" id="tHeading" runat="server">
        Select Technical Area</h1>
        <br />
    <table width="100%">
        <tr>
            <td>
                <label>
                    Patient Name:
                    <asp:Label ID="lblname" runat="server"></asp:Label>
                </label> &nbsp;&nbsp;&nbsp;&nbsp;
                <label>
                    Sex:
                    <asp:Label ID="lblsex" runat="server"></asp:Label>
                </label>&nbsp;&nbsp;&nbsp;&nbsp;
                <label>
                  DOB:
                    <asp:Label ID="lbldob" runat="server"></asp:Label>
                </label>&nbsp;&nbsp;&nbsp;&nbsp;
                <label>
                    IQCare Reference Number:
                    <asp:Label ID="lblIQno" runat="server"></asp:Label>
                </label>
            </td>
        </tr>
    </table>

    <div class="border center formbg">
        <%--<div>--%>
            <table width="100%" cellspacing="8" cellpadding="0">
                <tr>
                    <%--<td align="center" colspan="2" class="border pad5 whitebg">--%>
                    <td align="center" colspan="2" class="border center pad5 whitebg">
                        <table width="100%">
                            <tr>
                                <td align="right" width="50%">
                                    <label class="required">
                                        *Technical Area:</label>
                                </td>
                                <td width="50%">
                                    <asp:DropDownList ID="ddlTecharea" onchange="fnChange();" runat="server" 
                                        Style="z-index: 2" AutoPostBack="True" 
                                        onselectedindexchanged="ddlTecharea_SelectedIndexChanged">
                                    </asp:DropDownList>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <%--<td align="center" colspan="2" class="border pad5 whitebg">--%>
                    <td align="center" colspan="2" class="border center pad5 whitebg">
                        <table width="100%" >
                            <tr>
                                <td align="right" valign="bottom" width="50%">
                                    <label for="pharmReportedbyDate" class="required">
                                        *Enrollment Date:</label>
                                </td>
                                <td width="50%">
                                    <input id="txtenrollmentDate" onblur="DateFormat(this,this.value,event,false,'3')"
                                        onkeyup="DateFormat(this,this.value,event,false,'3')" onfocus="javascript:vDateType='3'"
                                        maxlength="11" size="11" name="pharmReportedbyDate" runat="server"/>
                                    <img id="appDateimg2"  
                                        height="22" runat="server" alt="Date Helper" hspace="5" src="images/cal_icon.gif" width="22"
                                        border="0" name="appDateimg" visible="true"/><span class="smallerlabel" id="appDatespan2">(DD-MMM-YYYY)</span>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                </table>
                
                <table width="100%">
                <tr>
                    <td colspan="2">
                    
                      <asp:Panel ID="pnlIdentFields" runat="server" EnableViewState="true">
                      </asp:Panel>
                        <br />
                 </td>
              
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSaveContinue" runat="server" Text="Save and Continue" OnClientClick="return fncheck();" OnClick="btnSaveContinue_Click" />&nbsp;
                        <asp:Button ID="btnContinue" runat="server" Text="Continue" OnClick="btnContinue_Click" />
                    </td>
                </tr>
            </table>
       
    </div>
    </div>
    </asp:Content>
